﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo
{
    class Area
    {
        public void Area1(int r)
        {
            Console.WriteLine("圆的面积为："+(3.14*r*r));
        }
        public void Area1(int a,int b)
        {
            Console.WriteLine("长方形的面积为：" + (a*b));
        }
    }
}
